package com.fadadianqi.mall.product.dao.ibatis;

import com.fadadianqi.commons.GenericDAOSuport;
import com.fadadianqi.mall.product.dao.ItemSKUDAO;
import com.fadadianqi.mall.product.model.ItemSKU;
import org.springframework.stereotype.Component;

/**
 * Created by aroot on 2/26/14.
 */
@Component
public class ItemSKUDAOImpl extends GenericDAOSuport<String, ItemSKU> implements ItemSKUDAO {
    @Override
    protected Class<?> getObjectClass() {
        return ItemSKU.class;
    }

    @Override
    protected String getTableName() {
        return "mall_item_sku";
    }
}
